import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import java.util.List;

/**
 * 创建群组请求VO
 */
@Schema(name = "创建群组请求VO")
@Data
public class GroupCreateReqVO {

    @Schema(description = "星球ID", required = true, example = "1")
    @NotNull(message = "星球ID不能为空")
    private Long planetId;

    @Schema(description = "群组名称", required = true, example = "技术交流群")
    @NotEmpty(message = "群组名称不能为空")
    private String name;

    @Schema(description = "群组描述", example = "用于技术讨论和交流")
    private String description;

    @Schema(description = "群组头像", example = "https://example.com/group-avatar.jpg")
    private String avatar;

    @Schema(description = "创建者ID", required = true, example = "1")
    @NotNull(message = "创建者ID不能为空")
    private Long creatorId;

    @Schema(description = "初始成员ID列表", required = true)
    @NotEmpty(message = "初始成员ID列表不能为空")
    private List<Long> memberIds;

}